#include"Server.hpp"
int main(){
    ;
    Server server;
    cout<<3<<endl;;
    server.OpenPipe();
    string message;
    while(true){
        if(server.ReceivePipe(&message))
        cout<<"server 接受成功"<<endl;
        else
        break;
    }
}